home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  829 b 

  1. Path: news.wyoming.com!usenet
  2. From: Jon Wynett <jwynett@eagle.unilink-inc.com>
  3. Newsgroups: comp.lang.c
  4. Subject: checking for 32-bit vs. 16-bit OS
  5. Date: Mon, 04 Mar 1996 12:44:02 -0800
  6. Organization: UniLink
  7. Message-ID: <313B5612.1B9@eagle.unilink-inc.com>
  8. NNTP-Posting-Host: wolf.unilink-inc.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  13.  
  14. Hi:
  15.  
  16. I need a bit of help. I'm writing an application compiled for 16-bit 
  17. Windows. What I need is a way for this program, at run-time, to 
  18. determine whether it is running on 32-bit Windows 95 or NT, or on 16-bit 
  19. Windows 3.1.
  20.  
  21. I've tried the Win16 API GetVersion() but that doesn't seem to read the 
  22. version information from '95 and NT correctly. Any ideas?
  23.  
  24. jon wynett
  25. jwynett@eagle.unilink-inc.com
  26.